﻿@model YogaStudio.Data.Domain.Course

@{
    ViewBag.Title = "Details";
}


<div class="main">
    <div class="content">
        <div class="section group">
            <div class="col span_2_of_3">
                <div class="contact-form">

                    <h3>Course Details</h3>
                    <dl class="dl-horizontal">
                        <dt>
                            @Html.DisplayNameFor(model => model.CourseCode)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.CourseCode)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.CourseName)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.CourseName)
                        </dd>

                        <dt>
                            @Html.DisplayNameFor(model => model.CourseDescription)
                        </dt>

                        <dd>
                            @Html.DisplayFor(model => model.CourseDescription)
                        </dd>
                        <dt>
                            @Html.DisplayNameFor(model => model.Prerequisite.PrerequisiteId)
                        </dt>
                        <dd>
                            @Html.DisplayFor(model => model.Prerequisite.CourseName)
                        </dd>

                    </dl>
                </div>
            </div>
            <p>
                @Html.ActionLink("Edit", "Edit", new { id = Model.Id }, new { @class = "btn", @id = "bluebck" })
                @Html.ActionLink("Back to List", "Index", null, new { @class = "btn", @id = "bluebck" })
            </p>
        </div>
    </div>
</div>



